package com.tcp2.msg.rpc;

/**
 *
 * Author: 杨俊辉
 * Time: 2014-10-10 17:09
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 */

import java.util.ArrayList;
import java.util.List;

/**
 *  上报车辆行驶记录应答
 */
public class Up_1504  extends BaseRes {
    @Override
    public String id() {
        return "1504";
    }

    private String lpn;
    private Byte col;
    private Byte commandType; //命令字
    private byte [] bytes;
    private List<AccidentSuspicion2012Item> accidentSuspicion2012Item = new ArrayList<AccidentSuspicion2012Item>(); //10H:事故疑点记录
    private List<OvertimeDriving2012Item> overtimeDriving2012Item = new ArrayList<OvertimeDriving2012Item>(); //11H：超时驾驶记录

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public Byte getCol() {
        return col;
    }

    public void setCol(Byte col) {
        this.col = col;
    }

    public Byte getCommandType() {
        return commandType;
    }

    public void setCommandType(Byte commandType) {
        this.commandType = commandType;
    }

    public List<AccidentSuspicion2012Item> getAccidentSuspicion2012Item() {
        return accidentSuspicion2012Item;
    }

    public void setAccidentSuspicion2012Item(List<AccidentSuspicion2012Item> accidentSuspicion2012Item) {
        this.accidentSuspicion2012Item = accidentSuspicion2012Item;
    }

    public List<OvertimeDriving2012Item> getOvertimeDriving2012Item() {
        return overtimeDriving2012Item;
    }

    public void setOvertimeDriving2012Item(List<OvertimeDriving2012Item> overtimeDriving2012Item) {
        this.overtimeDriving2012Item = overtimeDriving2012Item;
    }

    @Override
    public String toString() {
        return "Up_1504{" +
                "lpn='" + lpn + '\'' +
                ", col=" + col +
                ", commandType=" + commandType +
                ", accidentSuspicion2012Item=" + accidentSuspicion2012Item +
                ", overtimeDriving2012Item=" + overtimeDriving2012Item +
                '}';
    }
}
